# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Scott Fial <scott at fial dot com>

pkgname=tamsyn-font
pkgver=1.9
pkgrel=1
pkgdesc="A monospaced bitmap font for the console and X11"
arch=('any')
url="http://www.fial.com/~scott/tamsyn-font"
license=('custom')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=$pkgname.install
source=(http://www.fial.com/~scott/$pkgname/download/$pkgname-$pkgver.tar.gz)
md5sums=('b77250bdb3a5bad08740e6fe848b0f53')

package () {
  cd "$srcdir/$pkgname-$pkgver"

  install -d "$pkgdir/usr/share/fonts/local"
  install -d "$pkgdir/usr/share/kbd/consolefonts"
  install -d "$pkgdir/usr/share/doc/$pkgname"

  install -m644 *.pcf "$pkgdir/usr/share/fonts/local/"
  install -m644 *.psf.gz "$pkgdir/usr/share/kbd/consolefonts/"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/"
}
